<include file="Public:header" />
<include file="Public:leftside" />
<div class="main-content">
	<div class="breadcrumbs breadcrumbs-fixed" id="breadcrumbs">
		<ul class="breadcrumb">
			<li> <i class="icon-home home-icon"></i>
				<a href="/">首页</a>
			</li>
			<li class="active">导航分类管理</li>
		</ul>
	</div>

	<section class="vbox">

		<section class="scrollable wrapper">
			<div class="row padder-v">
				<div class="col-sm-9">
					<a href="{:U('Platform/shopnav_cat')}" class="btn btn-sm btn-primary"> 分类管理 </a>
					<a href="{:U('Platform/shopnav_cat_add')}" class="btn btn-sm btn-default"><i class="fa fa-plus"></i> 添加分类 </a>
				</div>

			</div>
			<!-- 操作提示  start -->
			<section class="panel-default m-b-sm">
				<div class="alert alert-info">
					<p>

						<i class="fa fa-hand-o-right m-r-xs"></i><strong>操作提示</strong>
					</p>
					<p class="alert-p m-l-xl"><i class="fa fa-caret-right m-r-xs"></i>导航分类管理</p>
				</div>
			</section>
			<!-- 操作提示  end -->

			
			<section class="panel panel-default">
				<div class="table-responsive">
					<table class="table table-striped b-t b-light text-sm" style="margin-bottom: 0px; ">
						<thead>
							<tr>
						
								<th>ID</th>
								<th>名称</th>
								<th class="center">描述</th>
								
								<th class="center">操作</th>
							
							</tr>
						</thead>
						<tbody id="list">
							
							<foreach name="navcats" item="vo">
							<tr>
								<td>{$vo.navcid}</td>
								<td>{$vo.name}</td>
								<td class="center">{$vo.remark}</td>
							
								<td class="center">
									<a href="{:U('Platform/shopnav_cat_edit',array('id'=>$vo['navcid']))}">编辑</a>|
									<a href="{:U('Platform/shopnav_cat_delete',array('id'=>$vo['navcid']))}" class="js-ajax-delete"  onclick="{if(confirm('是否确认删除？')){return true;}return false;}">删除</a>
								</td>
							</tr>
							</foreach>
							
						</tbody>
					</table>
				</div>
			

			</section>

		</section>
	</section>
	<include file="Public:footer" />